﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AnlianCommon.Common.Domains.UserPermissions
{
    /// <summary>
    /// 人员表
    /// </summary>
    public class Personnel
    {
        [Key]
        public int PersId { get; set; }
        //姓名
        public string? PersName { get; set; }
        //性别
        public string? PersSex { get; set; }
        //证件类型
        public string? PersCardType { get; set; }
        //身份证号
        public string? PersCard { get; set; }
        //联系电话
        public string? PersPhone { get; set; }
        //电子邮件
        public string? PersEmail { get; set; }
        //毕业院校
        public string? PersCollege { get; set; }
        //学历
        public string? Education { get; set; }
        //单位(外键)
        public int? EnterpriseId { get; set; }
        //员工状态
        public string? StaffState { get; set; }
        //部门(外键)
        public int? DepartmentId { get; set; }
        //入职日期
        public DateTime? PersEntry { get; set; }
        //转正日期
        public DateTime? PersRegular { get; set; }
        //职务
        public string? PersFunction { get; set; }
        //岗位
        public string? PresTrain { get; set; }
        //人事级别
        public string? PresLevel { get; set; }
        //账号
        public string? PresAccount { get; set; }
        //密码
        public string? PresPass { get; set; }
        //角色(外键)
        public int? RoleId { get; set; }
    }
}
